package py.com.cadep.jpa.entities.persona;

import java.io.Serializable;
import java.lang.String;
import javax.persistence.*;

import py.com.cadep.jpa.entities.configuracion.BaseEntity;
import py.com.cadep.jpa.entities.persona.Persona;

/**
 * Entity implementation class for Entity: Login
 * 
 */
@Entity
public class Login extends BaseEntity implements Serializable {

	@OneToOne
	private Persona persona;
	private String password;
	private boolean habilitado;
	private static final long serialVersionUID = 1L;

	public Login() {
		super();
	}

	public Persona getPersona() {
		return this.persona;
	}

	public void setPersona(Persona persona) {
		this.persona = persona;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean getHabilitado() {
		return this.habilitado;
	}

	public void setHabilitado(boolean habilitado) {
		this.habilitado = habilitado;
	}

}
